package com.example.lib;

/**
 * 测试类
 **/
public class Bean {

    private String name;
    public int year;

    public void setName(String name) {
        this.name = name;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getYear() {
        return year;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "{" +
                "\"" + "name" + "\"" + ":" + "\"" + name + '\"' + "," +
                "\"" + "year" + "\"" + ":" + "\"" + year + "\"" + '}';
    }
}